package com.cn.wxwinnie.myHibernate.dataset;

import java.io.Serializable;

/**
 * @author 潇湘暮雨 E-mail:wxwinnie@hotmail.com
 * 
 * @version 创建时间：2014年3月19日 下午9:14:27
 * 
 */
public class Field implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String fieldName;
	private Class<?> fieldType;
	private Object fieldValue;

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public Class<?> getFieldType() {
		return fieldType;
	}

	public void setFieldType(Class<?> fieldType) {
		this.fieldType = fieldType;
	}

	public Object getFieldValue() {
		return fieldValue;
	}

	public void setFieldValue(Object fieldValue) {
		this.fieldValue = fieldValue;
	}

	@Override
	public String toString() {
		return "Field: {fieldName: "+ fieldName + ", fieldType: " + fieldType + ",fieldValue: " + fieldValue +"}";
	}

}
